package com.tcxhb.job.admin.model.request.biz;

import com.tcxhb.job.common.model.job.JobParams;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
/**
* author:auto.generator
* time: 2023-11-05
*/
@Data
public class JobInstanceAddReq implements Serializable {

    @ApiModelProperty("")
    private Long id;

    @ApiModelProperty("应用")
    private String appName;

    @ApiModelProperty("任务，主键ID")
    private Long jobId;

    @ApiModelProperty("客户端地址")
    private String machineAddr;

    @ApiModelProperty("执行器任务参数")
    private JobParams jobParams;

    @ApiModelProperty("失败重试次数")
    private Integer retryCount;

    @ApiModelProperty("调度-时间")
    private Date triggerTime;

    @ApiModelProperty("调度-结果")
    private Integer triggerCode;

    @ApiModelProperty("调度-日志")
    private String triggerMsg;

    @ApiModelProperty("执行-时间")
    private Date handleTime;

    @ApiModelProperty("执行-状态")
    private Integer handleCode;

    @ApiModelProperty("执行-日志")
    private String handleMsg;
}
